﻿@model IEnumerable<SSE657.BahMap.Common.SchoolData>

@{
    ViewBag.Title = "Schools By MHA";
}

@Html.ActionLink("Home", "Index")
@Html.Partial("SearchSchoolsByMha")
<hr />
<table>
    <thead>
        <tr>
            <th>
                School Name
            </th>
            <th>
                Zip Code
            </th>
            <th>
                School Type
            </th>
            <th>
                In-State Tuition
            </th>
            <th>
               In-State Fees
            </th>
            <th>
                Out of State Tuiton
            </th>
            <th>
               Out of State Fees
            </th>
        </tr>
    </thead>
    <tbody>
        @foreach (var row in Model)
        {
            <tr>
                <td>
                    @row.SchoolName
                </td>
                <td>
                    @row.ZipCode
                </td>
                <td>
                    @row.SchoolType
                </td>
                <td>
                    @row.InStateTuition
                <td>
                    @row.InStateFees
                </td>
                <td>
                    @row.OutOfStateTuition
                </td>
                <td>
                    @row.OutOfStateFees
                </td>
            </tr>
        }
    </tbody>
</table>
